package cn.edu.dgut.css.sai.springsecuritygiteeexperiment.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class OAuth2Config {

    @Value("${gitee.oauth2.client-id}")
    String clientId;
    @Value("${gitee.oauth2.client-secret}")
    String clientSecret;
    @Value("${gitee.oauth2.url-pattern}")
    String urlPattern;
    @Value("${gitee.oauth2.redirect-uri}")
    String redirectUri;
}
